Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ringbuffer_trait: add extend_from_slice #134

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

phip1611
Copy link
Contributor

@phip1611 phip1611 commented May 12, 2024

This adds an extend_from_slice function to the RingBuffer trait. The default implementation calls push() for each element. However, by creating specialized implementations for the various buffers, one can do various performance optimizations in a follow-up.

Partially closes #124

@phip1611 phip1611 force-pushed the extend-from-slice branch from 825971b to f6f09b2 Compare May 12, 2024 20:13
@NULLx76 NULLx76 closed this Oct 23, 2024
@NULLx76 NULLx76 reopened this Oct 23, 2024
@phip1611
Copy link
Contributor Author

phip1611 commented Oct 24, 2024

I rebased the PR. Are we good to go @NULLx76 ?

@phip1611 phip1611 force-pushed the extend-from-slice branch 2 times, most recently from f64f30b to b2bc618 Compare October 24, 2024 09:32
phip1611 and others added 2 commits November 11, 2024 17:12
This adds an extend_from_slice function to the RingBuffer trait. The default
implementation calls push() for each element. However, by creating specialized
implementations for the various buffers, one can do various performance
optimizations in a follow-up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better bulk insert APIs
2 participants